pp108 : onhttperror Event (Busdataisland)

onhttperror Event (Busdataisland)


This event is fired when the XMLHTTP does not receive XML from the Gateway.

Syntax

Inline HTML

 <div cordysType='wcp.library.data.BusDataIsland' id='busdataislandID' onhttperror='handler()'...>
...
</div>

Event property

busdataislandID.onhttperror = handler


Event Information

To Invoke

N/A.

Default Action

Alerts the error and initiates any action associated with this event.


Event Object Properties

Property

Description

error

Read-only. Retrieves the HTTP Exception thrown by the server.

httpStatusCode

String that denotes the HTTP status code.

showError

Boolean that indicates whether the error thrown by the HTTP can be suppress from displaying or not.

  • true- Default. Error is shown to the user without suppressing.
  • false- Error is not shown to the user.



Although event handlers in the DHTML Object Model do not receive parameters directly, a handler can query an event object for data.

See Also


busdataisland